package tt.com.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import tt.com.common.annotation.IsNull;

/**
    * 告别厅业务表
    * 开始时间，结束时间，进厅时间不为空
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName(value = "yx_funeral_dead_hall")
public class DeadHall {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 逝者id
     */
    @TableField(value = "dead_id")
    private String deadId;

    /**
     * 灵堂id
     */
    @TableField(value = "hall_id")
    private String hallId;

    /**
     * 开始时间
     */
    @IsNull
    @TableField(value = "start_time")
    private Date startTime;

    /**
     * 结束时间
     */
    @IsNull
    @TableField(value = "end_time")
    private Date endTime;

    /**
     * 进厅时间
     */
    @IsNull
    @TableField(value = "enter_hall_time")
    private Date enterHallTime;

    @TableField(value = "out_hall_time")
    private Date outHallTime;

    /**
     *  办理情况
     */
    @TableField(value = "transact_status")
    private Integer transactStatus;

    /**
     * 使用类型(守灵  告别)
     */
    @TableField(value = "use_type")
    private Integer useType;

    /**
     * 价格类型
     */
    @TableField(value = "price_type")
    private Integer priceType;

    /**
     * 横幛
     */
    @TableField(value = "across_ezlh")
    private String acrossEzlh;

    /**
     * 右竖幛
     */
    @TableField(value = "right_vertical_ezlh")
    private String rightVerticalEzlh;

    /**
     * 左竖幛
     */
    @TableField(value = "left_vertical_ezlh")
    private String leftVerticalEzlh;

    /**
     * 灵堂布置
     */
    @TableField(value = "hall_layout")
    private String hallLayout;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private String createUserId;

    /**
     * 最后修改时间
     */
    @TableField(value = "last_update_time")
    private Date lastUpdateTime;

    /**
     * 最后修改人
     */
    @TableField(value = "last_update_user_id")
    private String lastUpdateUserId;

    /**
     * 删除时间
     */
    @TableField(value = "delete_time")
    private Date deleteTime;

    /**
     * 删除人
     */
    @TableField(value = "delete_user_id")
    private String deleteUserId;

    /**
     * 删除状态(0删除 1正常)
     */
    @TableField(value = "data_status")
    private Integer dataStatus;

    /**
     * 组织id
     */
    @TableField(value = "organ_id")
    private String organId;

    public static final String COL_ID = "id";

    public static final String COL_DEAD_ID = "dead_id";

    public static final String COL_HALL_ID = "hall_id";

    public static final String COL_START_TIME = "start_time";

    public static final String COL_END_TIME = "end_time";

    public static final String COL_ENTER_HALL_TIME = "enter_hall_time";

    public static final String COL_OUT_HALL_TIME = "out_hall_time";

    public static final String COL_TRANSACT_STATUS = "transact_status";

    public static final String COL_USE_TYPE = "use_type";

    public static final String COL_PRICE_TYPE = "price_type";

    public static final String COL_ACROSS_EZLH = "across_ezlh";

    public static final String COL_RIGHT_VERTICAL_EZLH = "right_vertical_ezlh";

    public static final String COL_LEFT_VERTICAL_EZLH = "left_vertical_ezlh";

    public static final String COL_HALL_LAYOUT = "hall_layout";

    public static final String COL_REMARK = "remark";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CREATE_USER_ID = "create_user_id";

    public static final String COL_LAST_UPDATE_TIME = "last_update_time";

    public static final String COL_LAST_UPDATE_USER_ID = "last_update_user_id";

    public static final String COL_DELETE_TIME = "delete_time";

    public static final String COL_DELETE_USER_ID = "delete_user_id";

    public static final String COL_DATA_STATUS = "data_status";

    public static final String COL_ORGAN_ID = "organ_id";
}